//导出函数sum，isOdd

export function sum(a, b) {
    return a + b
}

export function isOdd(n) {
    return n % 2 !== 0
}


const d = 2 
export {d}   //具名

const e =10
export{ e as ten} //具名

// export default 3    默认导出
// export default  function(){}   //默认导出


const f =4 ,g =5,h=6
export {f,g,h as default} //基本+默认导出

